<?php

  // Lets get our common $_GET values and sanitize them
  $faq = sanitize_paranoid_string($_GET['faq']); // Selected FAQ
  $ca = sanitize_paranoid_string($_GET['ca']); // Category
  $qn = sanitize_paranoid_string($_GET['qn']); // Question
  $view = sanitize_paranoid_string($_GET['view']); // View Type
  $action = sanitize_paranoid_string($_GET['action']); // Action
  $posted = strip_tags($_GET['posted']); // Posted
  $msg = sanitize_paranoid_string($_GET['msg']); // Message ID
  $show = sanitize_paranoid_string($_GET['show']); // Message ID

  // Pass Site Details
  $smarty->assign("SiteTitle","$OrbitFAQTitle");
  $smarty->assign("PageTitle","Ask Your Question");
  $smarty->assign("isDemo","$isDemo");

  // Pass Skin Details
  $smarty->assign("SkinFullPath","$SkinFullPath");
  $smarty->assign("DefaultSkin","$defaultSkin");
  $smarty->assign("allowUserSkinChange","$allowUserSkinChange");

  // MySQL Versions
  $smarty->assign("MySQL_Version","$MySQL_Version");

  // Pass User Details
  $smarty->assign("orbitfaq_userid","$orbitfaq_userid");
  $smarty->assign("orbitfaq_login","$orbitfaq_login");
  $smarty->assign("orbitfaq_fullname","$orbitfaq_fullname");
  $smarty->assign("orbitfaq_accesslevel","$orbitfaq_accesslevel");

  // Pass Rights Information
  $smarty->assign("allowUserPosts","$allowUserPosts");
  $smarty->assign("usersMustBeLoggedIn","$usersMustBeLoggedIn");
  $smarty->assign("allowRatings","$allowRatings");
  $smarty->assign("usersMustBeLoggedInRatings","$usersMustBeLoggedInRatings");

  // Rating Titles
  $smarty->assign("rating_1","$rating_1");
  $smarty->assign("rating_2","$rating_2");
  $smarty->assign("rating_3","$rating_3");
  $smarty->assign("rating_4","$rating_4");
  $smarty->assign("rating_5","$rating_5");

  // Pass Content Details
  $smarty->assign("faq","$faq");
  $smarty->assign("ca","$ca");
  $smarty->assign("qn","$qn");
  $smarty->assign("msg","$msg");
  $smarty->assign("action","$action");
  $smarty->assign("show","$show");

  // Pass Any Messages
  $smarty->assign("message","$message");


?>